package com.cdu.guoxinan.www.smartcom.mapper;

import com.cdu.guoxinan.www.smartcom.domian.dto.ParkingSpotQueryDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.ParkingSpot;
import com.cdu.guoxinan.www.smartcom.domian.vo.ParkingSpotVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ParkingSpotMapper {
    List<ParkingSpotVO> queryPage(ParkingSpotQueryDTO parkingSpotQueryDTO);
    int add(ParkingSpot parkingSpot);
    int update(ParkingSpot parkingSpot);
    int delete(Long id);
    int releaseParkingSpotById(Long parkingSpotId);
}